package com.gzz.mapper;

import com.gzz.pojo.Strategy;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 周佳成
 * @since 2023-11-20
 */
public interface StrategyMapper extends BaseMapper<Strategy> {
	@Select("update strategy set st_sc = st_sc+#{add} where st_id = #{id}")
	void updateScById(Long id,Integer add);

}
